home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / leader.helpmark < prev    next >
Text File  |  1991-10-23  |  2KB  |  48 lines

  1. +-----------------------------------------------------------------------------+
  2. |                                   leader                                    |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. Abbreviation:  π|noneπ%
  6.  
  7. Parameters:    π|noneπ%
  8.  
  9.     π|Description:π%
  10. The  \leader markup  is  most often  used in  the  \tableofcontentsformat in
  11. conjunction with a  page number.   It produces dot leadering.   You can also
  12. use \leader in an \halign.
  13.  
  14.     π|Example:π%
  15. This example using leaders also illustrates the use of \indent in \halign.
  16.  
  17. The average annual costs of owning buildings in terms of
  18. {\it taxes, insurance, maintenance,} and
  19. {\it depreciation} are:
  20. \halign{\indent\indent\hbox to 13pc {#\leader}&
  21.          \rt{#}\ \%\cr
  22.  
  23. Taxes&1.00\cr
  24. Insurance&.75\cr
  25. Maintenance repairs&2.00\cr
  26. Depreciation&4.00\cr
  27. Miscellaneous&.25\cr
  28. \indent\bd Total&8.00\cr}
  29.  
  30. Will print:
  31.  
  32. +-----------------------------------------------------------------------------+
  33. |                                                                             |
  34. |     The  average annual  costs  of  owning buildings  in  terms  of taxes,  |
  35. | insurance, maintenance, and depreciation are:                               |
  36. |         Taxes . .... .. .....1.00 %                                         |
  37. |         Insurance ... . ...  ..75 %                                         |
  38. |         Maintenance repairs . 2.00 %                                        |
  39. |         Depreciation. . . ... 4.00 %                                        |
  40. |         Miscellaneous. . ....  .25 %                                        |
  41. |             Total ... . ...  8.00 %                                         |
  42. |                                                                             |
  43. +-----------------------------------------------------------------------------+
  44.  
  45.     π|Notes:π%
  46. Notice in the last line the  the ampersand (&) acted as a font delimiter for
  47. the \bd which printed "Total".
  48.